package com.galaxy.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

/**
 * 商品模块
 */
@SpringBootApplication
@MapperScan("com.galaxy.product.mapper")
public class GalaxyProductApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(GalaxyProductApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("商品模块启动成功");
    }
}
